package com.building.service;

import com.building.common.R;
import com.building.entity.EngineeringType;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
/**
@author yinjiahui
@create 2021-04-07 19:22
*/
public interface EngineeringTypeService extends IService<EngineeringType>{


    int updateBatch(List<EngineeringType> list);

    int updateBatchSelective(List<EngineeringType> list);

    int batchInsert(List<EngineeringType> list);

    int insertOrUpdate(EngineeringType record);

    int insertOrUpdateSelective(EngineeringType record);

    /**
     *
     * 新增或修改项目工程阶段
     *
     * @param engineeringType
     * @return
     */
    R insertOrUpdateEngineeringType(EngineeringType engineeringType);

    /**
     *
     * 根据项目工程类型id删除
     *
     * @param engineeringTypeId
     * @return
     */
    void deleteEngineeringTypeByEngineeringTypeId(Integer engineeringTypeId);

    /**
     *  查询所有的项目工程类型
     * @return
     */
    List<EngineeringType> selectEngineeringType();
}
